.box{
  width:100%;
	height: 100%;
	background: url("../assets/星空.jpg") no-repeat center;
	background-size: cover;
}
.box .infobox{
  position: relative;
  height: 100%;
  width: 1140px;
  margin: 0 auto;
  background-color: rgba(233, 246, 253,0.5);
}

.box .infobox .sidebar{
  position: absolute;
  left: 0;
  width: 150px;
  height: 100%;
  background-color: rgba(233, 246, 253,0.5);
}
.box .infobox .sidebar .el-icon-message{
  margin-top: 20px;
  margin-left: 20px;
  font-weight: 700;
  font-size: 20px;
}
.box .infobox .sidebar .list{
  margin-top: 40px;
}
.box .infobox .sidebar .list li{
  font-size: 18px;
  color: #6b757b;
  margin-bottom: 30px;
  cursor: pointer;
}
.box .infobox .sidebar .list li:hover{
  color: #2faee3;
}
.box .infobox .sidebar .list .active{
  color: #2faee3;
}

.box .infobox .title{
  position: absolute;
  left: 165px;
  top: 15px;
  height: 60px;
  width: 960px;
  color: #666666;
}
.box .infobox .title .p2{
  position: absolute;
  top: 6px;
}
.box .infobox .title .btn{
  position: absolute;
  top: 10px;
  right: 10px;
}
.box .infobox .title .exchange-goods{
  position: absolute;
  top: 20px;
  right: 20px;
}


.box .infobox .chat{
  position: absolute;
  bottom: -5px;
  right: 15px;
  height: 645px;
  width: 960px;
}
.box .infobox .chat .title{
  position: absolute;
  top: 0;
  left: 0;
  color: #666666;
  height: 40px;
  width: 960px;
  border: solid 1px #e9eaec;
}
.box .infobox .chat .title .p{
  margin-left: 20px;
  line-height: 40px;
  font-size: 13px;
}
.box .infobox .chat .title .line{
  position: absolute;
  height: 40px;
  border-left: solid 1px #e9eaec;
  top: 0;
  left: 200px;
}
.box .infobox .chat .title .chatuser{
  margin-left: 470px;
  line-height: 40px;
  font-size: 18px;
  color: #666666;
}
.box .infobox .chat .userlist{
  position: absolute;
  left: 0;
  top: 23px;
  height: 610px;
  width: 202px;
  border: solid 1px #e9eaec;
  list-style: none;
}
.box .infobox .chat .userlist li{
  margin-left: -42px;
  height: 100px;
  width: 202px;
  border-right: solid 1px #e9eaec;
  cursor: pointer;
}
.box .infobox .chat .userlist li:hover{
  background-color: #e4e5e6;
}
.box .infobox .chat .userlist .active{
  background-color: #e4e5e6;
}
.box .infobox .chat .userlist li img{
  height: 50px;
  width: 50px;
  border-radius: 50%;
  margin-top: 25px;
  margin-left: 25px;
}
.box .infobox .chat .userlist li .username{
  margin-top: -42px;
  margin-left: 80px;
  font-size: 25px;
  font-weight: 700;
  color: #543333;
}
.box .infobox .chat .userlist li .newMessage{
  margin-top: -50px;
  margin-left: 180px;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background-color: red;
}
.box .infobox .chat .chatbody{
  position: absolute;
  right: 0;
  bottom: 0;
  height: 605px;
  width: 757px;
  background-color: #f4f5f7;
}
.box .infobox .chat .chatbody .show{
  height: 450px;
  width: 757px;
  overflow-y: scroll;
}
.box .infobox .chat .chatbody .show .ImgBox{
  position: absolute;
  top: 75px;
  left: 220px;
  height: 300px;
  width: 300px;
  display: none;
}
.box .infobox .chat .chatbody .show .exchangeGoods{
  position: absolute;
  top: 0;
  left: 25%;
  height: 80px;
  width: 50%;
  background-color: #f4f5f7;
  display: none;
}
.box .infobox .chat .chatbody .show .exchangeGoods img{
     margin-top: -10px;
     margin-left: 25px;
     height: 30px;
     width: 30px;
}
.box .infobox .chat .chatbody .show .exchangeGoods span{
      position: absolute;
      top: 50px;
      margin-left: -43px;
}
.box .infobox .chat .chatbody .show .exchangeGoods button{
      margin-left: 18px;
      border-radius: 6px;
      width: 50px;
      height: 30px;
      border: solid #fff 1px;
      background-color: #7fd6f5;
      color: #fffffe;
      cursor: pointer;
}
.box .infobox .chat .chatbody .show .exchangeGoods button:hover{
  background-color: #80b9f2;
}
.box .infobox .chat .chatbody .show .time{
  margin-top: 10px;
  margin-left: 320px;
  color: #b2b2b8;
}
.box .infobox .chat .chatbody .show .self{
  margin-top: 10px;
  height: 50px;
  width: 757px;
  display: flex;
  flex-direction: row-reverse;
}
.box .infobox .chat .chatbody .show .self .chatinfo{
  margin-top: 7px;
  margin-right: 8px;
  height: 40px;
  line-height: 34px;
  background-color: #80b9f2;
  border: solid 3px #80b9f2;
  border-radius: 10px;
  word-break: break-all;
}
.box .infobox .chat .chatbody .show .self .avatar1{
  margin-top: 5px;
  height: 40px;
  width: 40px;
  border-radius: 50%;
}
.box .infobox .chat .chatbody .show .self .picImg{
  height: 50px;
  width: 50px;
  border-radius: 5px;
  cursor: pointer;
}
.box .infobox .chat .chatbody .show .other{
  height: 50px;
  width: 757px;
  display: flex;
  flex-direction: row;
  margin-top: 10px;
}
.box .infobox .chat .chatbody .show .other .chatinfo{
  margin-top: 7px;
  margin-right: 8px;
  height: 40px;
  line-height: 34px;
  background-color: #80b9f2;
  border: solid 3px #80b9f2;
  border-radius: 10px;
  word-break: break-all;
}
.box .infobox .chat .chatbody .show .other .avatar2{
  margin-top: 5px;
  margin-left: 10px;
  height: 40px;
  width: 40px;
  border-radius: 50%;
}
.box .infobox .chat .chatbody .show .other .picImg{
  height: 50px;
  width: 50px;
  border-radius: 5px;
  cursor: pointer;
}
.box .infobox .chat .chatbody .send{
  height: 138px;
  width: 757px;
}
.box .infobox .chat .chatbody .el-icon-picture{
  position: absolute;
  bottom: 119px;
  left: 35px;
  font-size: 25px;
  cursor: pointer;
}
.box .infobox .chat .chatbody .emojiBox{
  position: absolute;
  top: 308px;
  height: 150px;
  width: 50%;
  cursor: pointer;
  background-color: #fff;
  overflow-wrap: break-word;
  line-height: 30px;
  display: none;
}
.box .infobox .chat .chatbody .emoji img{
  position: absolute;
  bottom: 120px;
  left: 5px;
  height: 22px;
  width: 22px;
  cursor: pointer;
}
.box .infobox .chat .chatbody .el-icon-circle-plus{
  position: absolute;
  bottom: 120px;
  left: 30px;
  cursor: pointer;
  font-size: 25px;
}
.box .infobox .chat .chatbody .icon-exchange{
  position: absolute;
  bottom: 122px;
  left: 65px;
  height: 20px;
  width: 20px;
  cursor: pointer;
}
.box .infobox .chat .chatbody .selfgoods{
  position: absolute;
  bottom: 131px;
  height: 100px;
  width: 757px;
  background-color: #fff;
  list-style: none;
  display: flex;
  justify-content: flex-start;
  opacity: 0;
  overflow-x: scroll;
}
.box .infobox .chat .chatbody .selfgoods img{
  cursor: pointer;
  border-radius: 10px;
}
.box .infobox .chat .chatbody .selfgoods li img{
    height: 100px;
    width: 100px;
    margin-right: 10px;
}
.box .infobox .chat .chatbody .send textarea{
  border: none;
  outline-style: none;
  height: 75px;
  width: 757px;
  background-color: #f4f5f7;
  resize: none;
}
.box .infobox .chat .chatbody .send .el-button{
  position: absolute;
  bottom: 8px;
  right: 10px;
  color: black;
}
.box .infobox .chat .chatbody .send .count{
  position: absolute;
  bottom: 18px;
  right: 85px;
  color: #cbc0c0;
}
.box .infobox .chat .chatbody .send .picImg{
  height: 50px;
  width: 50px;
  border-radius: 5px;
}
